// ===============================================================================
// scan: sequential scan of a large descriptor collection
// Created in September 2007 as a project for an Advanced Database Systems course
// (c) Reykjavik University, Björn Þór Jónsson, Kristleifur Daðason, Herwig Lejsek
// Contact author: Björn Þór Jónsson, Reykjavík University, bjorn@ru.is
// ===============================================================================

#ifndef SEQUENTIALSCAN
#define SEQUENTIALSCAN

#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>

#include "FlexDescriptor.h"
#include "DescMapper.h"
#include "QueryDescInfo.h"

#include "ConfigMapper.h"
#include "IndexMapper.h"
#include "ClusterMapper.h"
#include "Aggregate.h"

using namespace std;

QueryDescInfo **Scan(DescMapper *qdescs, ConfigMapper *cnfg, IndexMapper *indx, int nns);
QueryDescInfo **CScan(DescMapper *qdescs, ConfigMapper *cnfg, IndexMapper *indx, int nns,int clusterstosearch);

#endif
